import { HttpSrv } from 'lfun-bg-comp';

// 分页 /api/school/v1/grades/page
export const searchGrades = () => HttpSrv().get('/school/v1/grades/page', { params: { page: 1, per_page: 2000 } });
// 修改
export const updateGrades = grades => HttpSrv().put('/school/v1/grades/all-grades', grades);
